import 'package:meiyunapp/generated/json/base/json_convert_content.dart';

class HomeTopDataEntity with JsonConvert<HomeTopDataEntity> {
	late List<HomeTopDataBanners> banners;
	late HomeTopDataPopunAdvert popunAdvert;
	late List<HomeTopDataCategories> categories;
	late List<HomeTopDataLimitTimeActive> limitTimeActive;
	late int notReadMessageCount;
}

class HomeTopDataBanners with JsonConvert<HomeTopDataBanners> {
	late int appid;
	late int id;
	late String image;
	late int link;
	late String name;
	late String remark;
	late int type;
}

class HomeTopDataPopunAdvert with JsonConvert<HomeTopDataPopunAdvert> {
	late int appid;
	late int id;
	late String image;
	late int link;
	late String name;
	late String remark;
	late int type;
}

class HomeTopDataCategories with JsonConvert<HomeTopDataCategories> {
	late int id;
	late String name;
	late String icon;
}

class HomeTopDataLimitTimeActive with JsonConvert<HomeTopDataLimitTimeActive> {
	late int id;
	late int name;
	late String image;
	late String zipImage;
	late String endTi;
	late int endTime;
	late int now;
	late int price;
	late int salesCount;
}
